<%@ Page Language="C#" Inherits="Castle.MonoRail.Views.AspView.ViewAtDesignTime" %>
<%@ import namespace="Castle.MonoRail.Framework" %>
<%@ import namespace="System.Collections.Generic" %>
<%@ import namespace="${Rails.Model.Namespace}.Models" %>
<%@ import namespace="${Rails.Model.Namespace}.Controllers.Database" %>
<%@ import namespace="${Rails.Model.Namespace}.Controllers.Helpers" %>
<%@ import namespace="${Rails.Model.Namespace}.Controllers.Resources" %>
<aspView:properties>
<% 
I${Rails.Entity.ClassName} ${Rails.Entity.ClassName.ToLower()};
Site CurrentSite;
AbstractBaseSmartDispatchController CurrentController; 
MenuHelper MenuHelper;
CustomHtmlHelper CustomHtmlHelper; 
${Rails.Entity.ClassName}Helper ${Rails.Entity.ClassName}Helper;
%>
</aspView:properties>
<component:MessagesComponent>
</component:MessagesComponent>
<h3 id="toc" name="toc"><%=  String.Format(CommonResource.Help, ${Rails.Entity.ClassName}Resource.${Rails.Entity.ClassName})  %></h3>
<ul>
#foreach($attribute in $Rails.Entity.Attributes)
#if( ! $attribute.IsHidden && $attribute.Display)
#if( ! $HtmlHelpers.DisplayAsHidden($Rails.Entity, $attribute))
<li><a href="#id_${attribute.DotNetName}"><%= ${Rails.Entity.ClassName}Resource.${attribute.DotNetName} %></a></li>
#end
#end
#end
</ul>
#foreach($attribute in $Rails.Entity.Attributes)
#if( ! $attribute.IsHidden && $attribute.Display)
#if( ! $HtmlHelpers.DisplayAsHidden($Rails.Entity, $attribute))
<h5 id="id_${attribute.DotNetName}" name="id_${attribute.DotNetName}"><%=  String.Format(CommonResource.Help, ${Rails.Entity.ClassName}Resource.${attribute.DotNetName})  %></h5>
<p><%=  ${Rails.Entity.ClassName}Resource.Help_Long_${attribute.DotNetName}  %></p>
<a href="#toc" class="backtotoc"><%=  CommonResource.BackToToc  %></a>
#end
#end
#end